package com.graduate.after.exception;

import com.graduate.after.constants.StatusCode;

/**
 * 自定义异常类
 */
public class GraduateException extends RuntimeException{
    private StatusCode statusCode;

    public GraduateException(StatusCode statusCode) {
        this.statusCode = statusCode;
    }

    public StatusCode getStatusCode() {
        return statusCode;
    }
}
